package com.heatup.apt.model.order;


import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *@Author: timo
 *@Date: 2018/3/28 20:02
 *@Description:
 * 课程日程查询实体类
 *
 */
public class CourseSignOrderQueryModel implements Serializable {

    private static final long serialVersionUID = -6887072004760430996L;

    /** 订单ID */
    private Integer orderId;

    /** 日程Id */
    private Integer courseSignId;

    /** 课程Id */
    private Integer courseId;

    /** 课程名称 */
    private String courseName;

    /** 门店Id */
    private Integer storeId;

    /** 门店名称 */
    private String storeName;

    /** 开始时间 */
    private Date startTime;

    /** 结束时间 */
    private Date endTime;

    /** 签到二维码 */
    private String signQrCode;

    /** 订单号 */
    private String orderNumber;

    /** 日程状态 */
    private Integer status;

    /** 订单类型 1 团课 2 私教 3 训练营 4 自助健身 */
    private Integer orderType;

    /** 总人数 */
    private Integer allPersonCount;

    /** 已经签到人数 */
    private Integer signedPersonCount;

    /** 购买课程用户 */
    List<OrderUser> userList;

    /** 课程类型 1 团课 2 私教 3 训练营 9 体测 10 体验 11 咨询  */
    private Integer courseType;

    /** 是否销课 0 未销 1 销课 */
    private Integer isclose;

    /** 课程时间 */
    private String courseTime;

    /** 总课时数 */
    private Integer periods;

    /** 当前课的第几节 */
    private Integer courseSortNum;

    /** 1 表示课程 2 表示添加到日程的备忘录 3表示不添加到日常的备忘录 */
    private Integer signType;

    /** 备注 */
    private String remark;

    /** 1 表示二维码待开始 2显示二维码 3 已过期  */
    private Integer signCodeStatus;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getCourseSignId() {
        return courseSignId;
    }

    public void setCourseSignId(Integer courseSignId) {
        this.courseSignId = courseSignId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getSignQrCode() {
        return signQrCode;
    }

    public void setSignQrCode(String signQrCode) {
        this.signQrCode = signQrCode;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getAllPersonCount() {
        return allPersonCount;
    }

    public void setAllPersonCount(Integer allPersonCount) {
        this.allPersonCount = allPersonCount;
    }

    public Integer getSignedPersonCount() {
        return signedPersonCount;
    }

    public void setSignedPersonCount(Integer signedPersonCount) {
        this.signedPersonCount = signedPersonCount;
    }

    public List<OrderUser> getUserList() {
        return userList;
    }

    public void setUserList(List<OrderUser> userList) {
        this.userList = userList;
    }

    public Integer getCourseType() {
        return courseType;
    }

    public void setCourseType(Integer courseType) {
        this.courseType = courseType;
    }

    public Integer getIsclose() {
        return isclose;
    }

    public void setIsclose(Integer isclose) {
        this.isclose = isclose;
    }

    public String getCourseTime() {
        return courseTime;
    }

    public void setCourseTime(String courseTime) {
        this.courseTime = courseTime;
    }

    public Integer getPeriods() {
        return periods;
    }

    public void setPeriods(Integer periods) {
        this.periods = periods;
    }

    public Integer getCourseSortNum() {
        return courseSortNum;
    }

    public void setCourseSortNum(Integer courseSortNum) {
        this.courseSortNum = courseSortNum;
    }

    public Integer getSignType() {
        return signType;
    }

    public void setSignType(Integer signType) {
        this.signType = signType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSignCodeStatus() {
        return signCodeStatus;
    }

    public void setSignCodeStatus(Integer signCodeStatus) {
        this.signCodeStatus = signCodeStatus;
    }
}

/** 购买课程订单用户 */
class OrderUser{

    /** 用户Id */
    private Integer userId;

    /** 用户昵称 */
    private String nickName;

    /** 用户手机号码 */
    private String mobile;

    /** 用户订单人数 */
    private Integer personCount;

    /** 用户头像 */
    private String headImg;

    /** 是否已经签到  1已经签到 2 未签到 */
    private Integer userSignIn;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getPersonCount() {
        return personCount;
    }

    public void setPersonCount(Integer personCount) {
        this.personCount = personCount;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public Integer getUserSignIn() {
        return userSignIn;
    }

    public void setUserSignIn(Integer userSignIn) {
        this.userSignIn = userSignIn;
    }
}
